/*
 * The MIT License
 *
 * Copyright 2011 Edwin Bratini <edwin.bratini@gmail.com>.
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in
 * all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 * THE SOFTWARE.
 */

/*
 * WelcomePage.java
 *
 * Created on 12/10/2011, 01:18:10 AM
 */
package org.salvador_dali.psychsys.ui;

import javax.swing.JLabel;

/**
 *
 * @author Edwin Bratini
 */
public class WelcomePage extends javax.swing.JPanel {

    /** Creates new form WelcomePage */
    public WelcomePage() {
        initComponents();
        lblBienvenidaMensaje.setVisible(false);
    }

    public JLabel getLblBienvenida() {
        return lblBienvenida;
    }

    public void setLblBienvenida(JLabel lblBienvenida) {
        this.lblBienvenida = lblBienvenida;
    }

    public JLabel getLblBienvenidaMensaje() {
        return lblBienvenidaMensaje;
    }

    public void setLblBienvenidaMensaje(JLabel lblBienvenidaMensaje) {
        this.lblBienvenidaMensaje = lblBienvenidaMensaje;
    }

    public JLabel getLblDesktopImage() {
        return lblDesktopImage;
    }

    public void setLblDesktopImage(JLabel lblDesktopImage) {
        this.lblDesktopImage = lblDesktopImage;
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        lblBienvenida = new javax.swing.JLabel();
        lblBienvenidaMensaje = new javax.swing.JLabel();
        lblDesktopImage = new javax.swing.JLabel();

        setBackground(new java.awt.Color(255, 255, 255));
        setAutoscrolls(true);

        jPanel1.setBackground(new java.awt.Color(153, 204, 255));

        lblBienvenida.setFont(new java.awt.Font("Arial", 1, 18));
        lblBienvenida.setForeground(new java.awt.Color(102, 102, 102));
        lblBienvenida.setText("Bienvenid@ a PsychSys");

        lblBienvenidaMensaje.setFont(new java.awt.Font("Arial", 1, 14));
        lblBienvenidaMensaje.setForeground(new java.awt.Color(102, 102, 102));
        lblBienvenidaMensaje.setHorizontalAlignment(javax.swing.SwingConstants.LEFT);
        lblBienvenidaMensaje.setText("Bienvenid@ Usuario Bienvenid@ Usuario");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(lblBienvenidaMensaje)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 544, Short.MAX_VALUE)
                .addComponent(lblBienvenida)
                .addContainerGap())
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(19, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(lblBienvenida)
                    .addComponent(lblBienvenidaMensaje))
                .addContainerGap())
        );

        lblDesktopImage.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        lblDesktopImage.setIcon(new javax.swing.ImageIcon(getClass().getResource("/resources/images/psych_head.png"))); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(330, 330, 330)
                .addComponent(lblDesktopImage, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGap(340, 340, 340))
            .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(73, 73, 73)
                .addComponent(lblDesktopImage, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGap(59, 59, 59))
        );
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel jPanel1;
    private javax.swing.JLabel lblBienvenida;
    private javax.swing.JLabel lblBienvenidaMensaje;
    private javax.swing.JLabel lblDesktopImage;
    // End of variables declaration//GEN-END:variables
}
